(()=>{var __webpack_modules__={646:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function readCSSBreakpoints(){return window.getComputedStyle(document.documentElement,":before").getPropertyValue("content").replace(/"/g,"").split(",")}function readCSSCurrentBreakpoint(){return window.getComputedStyle(document.documentElement,":after").getPropertyValue("content").replace(/"/g,"")}var callbacks=[],cssBreakpoints=readCSSBreakpoints(),CSSBreakpoint=function(){function CSSBreakpoint2(cssBreakpoint){this.cssBreakpoint=cssBreakpoint}return Object.defineProperty(CSSBreakpoint2.prototype,"value",{get:function(){return this.cssBreakpoint},enumerable:!0,configurable:!0}),CSSBreakpoint2.prototype.min=function(breakpointName){var comparison=cssBreakpoints.indexOf(this.value)-cssBreakpoints.indexOf(breakpointName);return comparison>=0},CSSBreakpoint2.prototype.max=function(breakpointName){var comparison=cssBreakpoints.indexOf(this.value)-cssBreakpoints.indexOf(breakpointName);return comparison<=0},CSSBreakpoint2.prototype.range=function(breakpointNameStart,breakpointNameEnd){var indexCurrent=cssBreakpoints.indexOf(this.value),indexStart=cssBreakpoints.indexOf(breakpointNameStart),indexEnd=cssBreakpoints.indexOf(breakpointNameEnd);return indexStart<=indexCurrent&&indexCurrent<=indexEnd},CSSBreakpoint2.prototype.is=function(){for(var _this=this,breakpointNames=[],_i=0;_i0?mediaLists.forEach(function(mediaList){var mql=window.matchMedia(mediaList.mediaText);mql.addListener(function(){var cssCurrentBreakpoint=readCSSCurrentBreakpoint();breakpoints.current.value!==cssCurrentBreakpoint&&(breakpoints.previous=breakpoints.current,breakpoints.current=new CSSBreakpoint(cssCurrentBreakpoint),callbacks.forEach(function(callback){return callback(breakpoints)}))})}):window.addEventListener("resize",function(){var cssCurrentBreakpoint=readCSSCurrentBreakpoint();breakpoints.current.value!==cssCurrentBreakpoint&&(breakpoints.previous=breakpoints.current,breakpoints.current=new CSSBreakpoint(cssCurrentBreakpoint),callbacks.forEach(function(callback){return callback(breakpoints)}))})},766:(__unused_webpack_module,exports)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__=!0;var EventHandler=function(){function EventHandler2(){this.events=[]}return EventHandler2.prototype.register=function(el,event2,listener){return!el||!event2||!listener?null:(this.events.push({el,event:event2,listener}),el.addEventListener(event2,listener),{el,event:event2,listener})},EventHandler2.prototype.unregister=function(_a){var el=_a.el,event2=_a.event,listener=_a.listener;return!el||!event2||!listener?null:(this.events=this.events.filter(function(e){return el!==e.el||event2!==e.event||listener!==e.listener}),el.removeEventListener(event2,listener),{el,event:event2,listener})},EventHandler2.prototype.unregisterAll=function(){this.events.forEach(function(_a){var el=_a.el,event2=_a.event,listener=_a.listener;return el.removeEventListener(event2,listener)}),this.events=[]},EventHandler2}();exports.Z=EventHandler},722:()=>{class VariantSelection extends HTMLElement{static get observedAttributes(){return["variant"]}constructor(){super(),this._loaded=!1,this._productFetcher=Promise.resolve(!1),this._onMainElChange=event2=>{this.variant=event2.currentTarget.value};const mainInputEl=this.querySelector("input[data-variants]");this._mainEl=mainInputEl||this.querySelector("select[data-variants]")}set variant(value){value?this.setAttribute("variant",value):this.removeAttribute("variant")}get variant(){return this.getAttribute("variant")}connectedCallback(){this._productFetcher=this._fetchProduct();const mainInputEl=this.querySelector("input[data-variants]");this._mainEl=mainInputEl||this.querySelector("select[data-variants]"),this._mainEl.addEventListener("change",this._onMainElChange),this.variant=this._mainEl.value}disconnectedCallback(){this._mainEl.removeEventListener("change",this._onMainElChange),this._mainEl=null}attributeChangedCallback(name,oldValue,newValue){if(oldValue!==newValue)switch(name){case"variant":this._changeVariant(newValue);break}}getProduct(){return this._loaded?Promise.resolve(this._product):this._productFetcher}getVariant(){return this.getProduct().then(product=>product&&product.variants.find(v=>v.id.toString()===this.variant)||!1).catch(()=>!1)}getState(){return this.getVariant().then(variant=>variant?"selected":this.getAttribute("variant"))}_changeVariant(value){this._dispatchEvent(value).then(()=>{this._mainEl.value=value})}_fetchProduct(){return fetch(this.getAttribute("product-url")).then(response=>response.json()).then(product=>(this._product=product,product)).catch(()=>{this._product=null}).finally(()=>{this._loaded=!0})}_dispatchEvent(value){return this.getProduct().then(product=>{const variant=product&&product.variants.find(v=>v.id.toString()===value)||!1,state=variant?"selected":value,event2=new CustomEvent("variant-change",{detail:{product,variant,state}});this.dispatchEvent(event2)})}}const valueElementType={select:"option",radio:'input[type="radio"]'};function setSelectedOptions(selectOptions,radioOptions,selectedOptions){selectOptions.forEach(({option})=>{option.value=selectedOptions[parseInt(option.dataset.variantOptionIndex,10)]}),radioOptions.forEach(({values})=>{values.forEach(value=>{value.checked=value.value===selectedOptions[parseInt(value.dataset.variantOptionValueIndex,10)]})})}function getOptions(optionsEls){const select=[],radio=[];for(let i=0;i"not-selected");return selectOptions.forEach(({option})=>{option.value!=="not-selected"&&(options[parseInt(option.dataset.variantOptionIndex,10)]=option.value)}),radioOptions.forEach(({values})=>{values.forEach(value=>{value.checked&&(options[parseInt(value.dataset.variantOptionValueIndex,10)]=value.value)})}),options}function getVariantFromSelectedOptions(variants,selectedOptions){for(let i=0;ioption===selectedOptions[index]))return variant}return!1}function _getVariant(variants,options){return variants.find(variant=>variant.options.every((option,index)=>option===options[index]))}function _setOptionsMap(product,selectedOptions,optionsMap,option1,option2=null,option3=null){const updatedOptionsMap={...optionsMap},options=[option1,option2,option3].filter(option=>!!option),variant=_getVariant(product.variants,options),variantOptionMatches=options.filter((option,index)=>option===selectedOptions[index]).length,isCurrentVariant=variantOptionMatches===product.options.length,isNeighbor=variantOptionMatches===product.options.length-1;for(let i=0;i({}));for(let i=0;i=1?Object.keys(optionsMap[0]):[],option2Values=optionsMap.length>=2?Object.keys(optionsMap[1]):[],option3Values=optionsMap.length>=3?Object.keys(optionsMap[2]):[];return option1Values.forEach(option1Value=>{option2Values.forEach(option2Value=>{option3Values.forEach(option3Value=>{optionsMap=_setOptionsMap(product,selectedOptions,optionsMap,option1Value,option2Value,option3Value)}),option3Values.length||(optionsMap=_setOptionsMap(product,selectedOptions,optionsMap,option1Value,option2Value))}),option2Values.length||(optionsMap=_setOptionsMap(product,selectedOptions,optionsMap,option1Value))}),optionsMap}function updateOptions(product,selectOptions,radioOptions,selectedOptions,disableUnavailableOptions,removeUnavailableOptions){const options=[...selectOptions,...radioOptions];if(options.length===0)return;const optionsAccessibility=getOptionsAccessibility(product,selectedOptions);for(let i=0;iparseInt(option.dataset.variantOptionIndex,10)===i);if(optionValues){const fragment=document.createDocumentFragment(),{option,wrappers,values}=optionValues;for(let j=values.length-1;j>=0;j--){const wrapper=wrappers[j],optionValue=values[j],{value}=optionValue,{available}=value in optionsAccessibility[i]?optionsAccessibility[i][value]:!1,{accessible}=value in optionsAccessibility[i]?optionsAccessibility[i][value]:!1,isChooseOption=value==="not-selected";optionValue.disabled=isChooseOption||disableUnavailableOptions&&!accessible,optionValue.dataset.variantOptionAccessible=accessible,optionValue.dataset.variantOptionAvailable=available,(!removeUnavailableOptions||accessible||isChooseOption)&&fragment.insertBefore(wrapper,fragment.firstElementChild)}option.innerHTML="",option.appendChild(fragment);const chosenValue=values.find(value=>value.selected||value.checked);option.dataset.variantOptionChosenValue=chosenValue&&chosenValue.value!=="not-selected"?chosenValue.value:!1}}}class OptionsSelection extends HTMLElement{static get observedAttributes(){return["variant-selection","disable-unavailable","remove-unavailable"]}static synchronize(mainOptionsSelection){const mainVariantSelection=mainOptionsSelection.getVariantSelection();return mainVariantSelection?mainOptionsSelection.getSelectedOptions().then(selectedOptions=>{document.querySelectorAll("options-selection").forEach(optionsSelection=>{optionsSelection!==mainOptionsSelection&&optionsSelection.getVariantSelection()===mainVariantSelection&&optionsSelection.setSelectedOptions(selectedOptions)})}).then(()=>!0):Promise.resolve(!1)}constructor(){super(),this.style.display="",this._events=[],this._onChangeFn=this._onOptionChange.bind(this),this._optionsEls=this.querySelectorAll("[data-variant-option]"),{select:this._selectOptions,radio:this._radioOptions}=getOptions(this._optionsEls),this._associateVariantSelection(this.getAttribute("variant-selection"))}set variantSelection(value){value?this.setAttribute("variant-selection",value):this.removeAttribute("variant-selection")}get variantSelection(){return this.getAttribute("variant-selection")}connectedCallback(){this._optionsEls=this.querySelectorAll("[data-variant-option]"),{select:this._selectOptions,radio:this._radioOptions}=getOptions(this._optionsEls),this._associateVariantSelection(this.getAttribute("variant-selection")),this._selectOptions.forEach(({option})=>{option.addEventListener("change",this._onChangeFn),this._events.push({el:option,fn:this._onChangeFn})}),this._radioOptions.forEach(({values})=>{values.forEach(value=>{value.addEventListener("change",this._onChangeFn),this._events.push({el:value,fn:this._onChangeFn})})}),this._onOptionChange()}disconnectedCallback(){this._resetOptions(),this._events.forEach(({el,fn})=>el.removeEventListener("change",fn)),this._events=[]}attributeChangedCallback(name,_oldValue,newValue){switch(name){case"variant-selection":this._associateVariantSelection(newValue);break;case"disable-unavailable":case"remove-unavailable":this._updateOptions(this.hasAttribute("disable-unavailable"),this.hasAttribute("remove-unavailable"));break}}getSelectedOptions(){return this._variantSelection?this._variantSelection.getProduct().then(product=>product?getSelectedOptions(product,this._selectOptions,this._radioOptions):null):Promise.resolve(null)}getVariantSelection(){return this._variantSelection}setSelectedOptions(selectedOptions){return setSelectedOptions(this._selectOptions,this._radioOptions,selectedOptions),this._updateOptions(this.hasAttribute("disable-unavailable"),this.hasAttribute("remove-unavailable"),selectedOptions)}_associateVariantSelection(id){this._variantSelection=id?document.getElementById(id):this.closest("variant-selection")}_updateLabels(){for(let i=0;i{updateOptions(product,this._selectOptions,this._radioOptions,selectedOptions||getSelectedOptions(product,this._selectOptions,this._radioOptions),disableUnavailableOptions,removeUnavailableOptions),this._updateLabels()}).then(()=>!0):Promise.resolve(!1)}_updateVariantSelection(product,selectedOptions){if(!this._variantSelection)return;const variant=getVariantFromSelectedOptions(product.variants,selectedOptions),isNotSelected=selectedOptions.some(option=>option==="not-selected");variant?this._variantSelection.variant=variant.id:this._variantSelection.variant=isNotSelected?"not-selected":"unavailable"}_onOptionChange(){this._variantSelection&&this._variantSelection.getProduct().then(product=>{if(!product)return;const selectedOptions=getSelectedOptions(product,this._selectOptions,this._radioOptions);this._updateOptions(this.hasAttribute("disable-unavailable"),this.hasAttribute("remove-unavailable"),selectedOptions),this._updateVariantSelection(product,selectedOptions),OptionsSelection.synchronize(this)})}}customElements.get("variant-selection")||customElements.define("variant-selection",VariantSelection),customElements.get("options-selection")||customElements.define("options-selection",OptionsSelection)},741:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){"use strict";__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__=typeof __WEBPACK_AMD_DEFINE_FACTORY__=="function"?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__2,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(){"use strict";var matchesMethod=function(){var ElemProto=window.Element.prototype;if(ElemProto.matches)return"matches";if(ElemProto.matchesSelector)return"matchesSelector";for(var prefixes=["webkit","moz","ms","o"],i=0;i{var __WEBPACK_AMD_DEFINE_RESULT__;/*! * EventEmitter2 * https://github.com/hij1nx/EventEmitter2 * * Copyright (c) 2013 hij1nx * Licensed under the MIT license. */(function(undefined2){var isArray=Array.isArray?Array.isArray:function(obj){return Object.prototype.toString.call(obj)==="[object Array]"},defaultMaxListeners=10;function init(){this._events={},this._conf&&configure.call(this,this._conf)}function configure(conf){conf?(this._conf=conf,conf.delimiter&&(this.delimiter=conf.delimiter),this._events.maxListeners=conf.maxListeners!==undefined2?conf.maxListeners:defaultMaxListeners,conf.wildcard&&(this.wildcard=conf.wildcard),conf.newListener&&(this.newListener=conf.newListener),conf.verboseMemoryLeak&&(this.verboseMemoryLeak=conf.verboseMemoryLeak),this.wildcard&&(this.listenerTree={})):this._events.maxListeners=defaultMaxListeners}function logPossibleMemoryLeak(count,eventName){var errorMsg="(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.";this.verboseMemoryLeak?(errorMsg+=" Event name: %s.",console.error(errorMsg,count,eventName)):console.error(errorMsg,count),console.trace&&console.trace()}function EventEmitter(conf){this._events={},this.newListener=!1,this.verboseMemoryLeak=!1,configure.call(this,conf)}EventEmitter.EventEmitter2=EventEmitter;function searchListenerTree(handlers,type,tree,i){if(!tree)return[];var listeners=[],leaf,len,branch,xTree,xxTree,isolatedBranch,endReached,typeLength=type.length,currentType=type[i],nextType=type[i+1];if(i===typeLength&&tree._listeners){if(typeof tree._listeners=="function")return handlers&&handlers.push(tree._listeners),[tree];for(leaf=0,len=tree._listeners.length;leaf0&&tree._listeners.length>this._events.maxListeners&&(tree._listeners.warned=!0,logPossibleMemoryLeak.call(this,tree._listeners.length,name))):tree._listeners=listener,!0;name=type.shift()}return!0}EventEmitter.prototype.delimiter=".",EventEmitter.prototype.setMaxListeners=function(n){n!==undefined2&&(this._events||init.call(this),this._events.maxListeners=n,this._conf||(this._conf={}),this._conf.maxListeners=n)},EventEmitter.prototype.event="",EventEmitter.prototype.once=function(event2,fn){return this.many(event2,1,fn),this},EventEmitter.prototype.many=function(event2,ttl,fn){var self2=this;if(typeof fn!="function")throw new Error("many only accepts instances of Function");function listener(){return--ttl===0&&self2.off(event2,listener),fn.apply(this,arguments)}return listener._origin=fn,this.on(event2,listener),self2},EventEmitter.prototype.emit=function(){this._events||init.call(this);var type=arguments[0];if(type==="newListener"&&!this.newListener&&!this._events.newListener)return!1;var al=arguments.length,args,l,i,j,handler;if(this._all&&this._all.length){if(handler=this._all.slice(),al>3)for(args=new Array(al),j=0;j3)for(args=new Array(al-1),j=1;j3)for(args=new Array(al),j=1;j3)for(args=new Array(al-1),j=1;j0&&this._events[type].length>this._events.maxListeners&&(this._events[type].warned=!0,logPossibleMemoryLeak.call(this,this._events[type].length,type))):this._events[type]=listener,this)},EventEmitter.prototype.onAny=function(fn){if(typeof fn!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),this._all.push(fn),this},EventEmitter.prototype.addListener=EventEmitter.prototype.on,EventEmitter.prototype.off=function(type,listener){if(typeof listener!="function")throw new Error("removeListener only takes instances of Function");var handlers,leafs=[];if(this.wildcard){var ns=typeof type=="string"?type.split(this.delimiter):type.slice();leafs=searchListenerTree.call(this,null,ns,this.listenerTree,0)}else{if(!this._events[type])return this;handlers=this._events[type],leafs.push({_listeners:handlers})}for(var iLeaf=0;iLeaf0&&recursivelyGarbageCollect(root[key]),Object.keys(obj).length===0&&delete root[key])}}}return recursivelyGarbageCollect(this.listenerTree),this},EventEmitter.prototype.offAny=function(fn){var i=0,l=0,fns;if(fn&&this._all&&this._all.length>0){for(fns=this._all,i=0,l=fns.length;i{var selectors=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object"],css=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}";module.exports=function(parentSelector,opts){parentSelector=parentSelector||"body",opts=opts||{},isObject(parentSelector)&&(opts=parentSelector,parentSelector="body"),opts.ignore=opts.ignore||"",opts.players=opts.players||"";var containers=queryAll(parentSelector);if(hasLength(containers)){if(!document.getElementById("fit-vids-style")){var head=document.head||document.getElementsByTagName("head")[0];head.appendChild(styles())}var custom=toSelectorArray(opts.players),ignored=toSelectorArray(opts.ignore),ignoredSelector=ignored.length>0?ignored.join():null,selector=selectors.concat(custom).join();hasLength(selector)&&containers.forEach(function(container){var videos=queryAll(container,selector);videos.forEach(function(video){ignoredSelector&&video.matches(ignoredSelector)||wrap(video)})})}};function queryAll(el,selector){return typeof el=="string"&&(selector=el,el=document),Array.prototype.slice.call(el.querySelectorAll(selector))}function toSelectorArray(input){return typeof input=="string"?input.split(",").map(trim).filter(hasLength):isArray(input)?flatten(input.map(toSelectorArray).filter(hasLength)):input||[]}function wrap(el){if(!/fluid-width-video-wrapper/.test(el.parentNode.className)){var widthAttr=parseInt(el.getAttribute("width"),10),heightAttr=parseInt(el.getAttribute("height"),10),width=isNaN(widthAttr)?el.clientWidth:widthAttr,height=isNaN(heightAttr)?el.clientHeight:heightAttr,aspect=height/width;el.removeAttribute("width"),el.removeAttribute("height");var wrapper=document.createElement("div");el.parentNode.insertBefore(wrapper,el),wrapper.className="fluid-width-video-wrapper",wrapper.style.paddingTop=aspect*100+"%",wrapper.appendChild(el)}}function styles(){var div=document.createElement("div");return div.innerHTML='

x

",div.childNodes[1]}function hasLength(input){return input.length>0}function trim(str){return str.replace(/^\s+|\s+$/g,"")}function flatten(input){return[].concat.apply([],input)}function isObject(input){return Object.prototype.toString.call(input)==="[object Object]"}function isArray(input){return Object.prototype.toString.call(input)==="[object Array]"}},47:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(741)],__WEBPACK_AMD_DEFINE_RESULT__=function(matchesSelector){return factory(window2,matchesSelector)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(window2,matchesSelector){"use strict";var utils={};utils.extend=function(a,b){for(var prop in b)a[prop]=b[prop];return a},utils.modulo=function(num,div){return(num%div+div)%div};var arraySlice=Array.prototype.slice;utils.makeArray=function(obj){if(Array.isArray(obj))return obj;if(obj==null)return[];var isArrayLike=typeof obj=="object"&&typeof obj.length=="number";return isArrayLike?arraySlice.call(obj):[obj]},utils.removeFrom=function(ary,obj){var index=ary.indexOf(obj);index!=-1&&ary.splice(index,1)},utils.getParent=function(elem,selector){for(;elem.parentNode&&elem!=document.body;)if(elem=elem.parentNode,matchesSelector(elem,selector))return elem},utils.getQueryElement=function(elem){return typeof elem=="string"?document.querySelector(elem):elem},utils.handleEvent=function(event2){var method="on"+event2.type;this[method]&&this[method](event2)},utils.filterFindElements=function(elems,selector){elems=utils.makeArray(elems);var ffElems=[];return elems.forEach(function(elem){if(elem instanceof HTMLElement){if(!selector){ffElems.push(elem);return}matchesSelector(elem,selector)&&ffElems.push(elem);for(var childElems=elem.querySelectorAll(selector),i=0;i{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(217),__webpack_require__2(47)],__WEBPACK_AMD_DEFINE_RESULT__=function(Flickity,utils){return factory(window2,Flickity,utils)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(window2,Flickity,utils){"use strict";function getCellsFragment(cells){var fragment=document.createDocumentFragment();return cells.forEach(function(cell){fragment.appendChild(cell.element)}),fragment}var proto=Flickity.prototype;return proto.insert=function(elems,index){var cells=this._makeCells(elems);if(!(!cells||!cells.length)){var len=this.cells.length;index=index===void 0?len:index;var fragment=getCellsFragment(cells),isAppend=index==len;if(isAppend)this.slider.appendChild(fragment);else{var insertCellElement=this.cells[index].element;this.slider.insertBefore(fragment,insertCellElement)}if(index===0)this.cells=cells.concat(this.cells);else if(isAppend)this.cells=this.cells.concat(cells);else{var endCells=this.cells.splice(index,len-index);this.cells=this.cells.concat(cells).concat(endCells)}this._sizeCells(cells),this.cellChange(index,!0)}},proto.append=function(elems){this.insert(elems,this.cells.length)},proto.prepend=function(elems){this.insert(elems,0)},proto.remove=function(elems){var cells=this.getCells(elems);if(!(!cells||!cells.length)){var minCellIndex=this.cells.length-1;cells.forEach(function(cell){cell.remove();var index=this.cells.indexOf(cell);minCellIndex=Math.min(index,minCellIndex),utils.removeFrom(this.cells,cell)},this),this.cellChange(minCellIndex,!0)}},proto.cellSizeChange=function(elem){var cell=this.getCell(elem);if(cell){cell.getSize();var index=this.cells.indexOf(cell);this.cellChange(index)}},proto.cellChange=function(changedCellIndex,isPositioningSlider){var prevSelectedElem=this.selectedElement;this._positionCells(changedCellIndex),this._getWrapShiftCells(),this.setGallerySize();var cell=this.getCell(prevSelectedElem);cell&&(this.selectedIndex=this.getCellSlideIndex(cell)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[changedCellIndex]),this.select(this.selectedIndex),isPositioningSlider&&this.positionSliderAtSelected()},Flickity})},880:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(47)],__WEBPACK_AMD_DEFINE_RESULT__=function(utils){return factory(window2,utils)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(window2,utils){"use strict";var proto={};return proto.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},proto.animate=function(){this.applyDragForce(),this.applySelectedAttraction();var previousX=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(previousX),this.isAnimating){var _this=this;requestAnimationFrame(function(){_this.animate()})}},proto.positionSlider=function(){var x=this.x;this.options.wrapAround&&this.cells.length>1&&(x=utils.modulo(x,this.slideableWidth),x=x-this.slideableWidth,this.shiftWrapCells(x)),this.setTranslateX(x,this.isAnimating),this.dispatchScrollEvent()},proto.setTranslateX=function(x,is3d){x+=this.cursorPosition,x=this.options.rightToLeft?-x:x;var translateX=this.getPositionValue(x);this.slider.style.transform=is3d?"translate3d("+translateX+",0,0)":"translateX("+translateX+")"},proto.dispatchScrollEvent=function(){var firstSlide=this.slides[0];if(firstSlide){var positionX=-this.x-firstSlide.target,progress=positionX/this.slidesWidth;this.dispatchEvent("scroll",null,[progress,positionX])}},proto.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},proto.getPositionValue=function(position){return this.options.percentPosition?Math.round(position/this.size.innerWidth*1e4)*.01+"%":Math.round(position)+"px"},proto.settle=function(previousX){!this.isPointerDown&&Math.round(this.x*100)==Math.round(previousX*100)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},proto.shiftWrapCells=function(x){var beforeGap=this.cursorPosition+x;this._shiftCells(this.beforeShiftCells,beforeGap,-1);var afterGap=this.size.innerWidth-(x+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,afterGap,1)},proto._shiftCells=function(cells,gap,shift){for(var i=0;i0?shift:0;cell.wrapShift(cellShift),gap-=cell.size.outerWidth}},proto._unshiftCells=function(cells){if(!(!cells||!cells.length))for(var i=0;i{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(131)],__WEBPACK_AMD_DEFINE_RESULT__=function(getSize){return factory(window2,getSize)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(window2,getSize){"use strict";function Cell(elem,parent){this.element=elem,this.parent=parent,this.create()}var proto=Cell.prototype;return proto.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},proto.destroy=function(){this.unselect(),this.element.style.position="";var side=this.parent.originSide;this.element.style[side]=""},proto.getSize=function(){this.size=getSize(this.element)},proto.setPosition=function(x){this.x=x,this.updateTarget(),this.renderPosition(x)},proto.updateTarget=proto.setDefaultTarget=function(){var marginProperty=this.parent.originSide=="left"?"marginLeft":"marginRight";this.target=this.x+this.size[marginProperty]+this.size.width*this.parent.cellAlign},proto.renderPosition=function(x){var side=this.parent.originSide;this.element.style[side]=this.parent.getPositionValue(x)},proto.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},proto.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},proto.wrapShift=function(shift){this.shift=shift,this.renderPosition(this.x+this.parent.slideableWidth*shift)},proto.remove=function(){this.element.parentNode.removeChild(this.element)},Cell})},690:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(217),__webpack_require__2(842),__webpack_require__2(47)],__WEBPACK_AMD_DEFINE_RESULT__=function(Flickity,Unidragger,utils){return factory(window2,Flickity,Unidragger,utils)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(window2,Flickity,Unidragger,utils){"use strict";utils.extend(Flickity.defaults,{draggable:">1",dragThreshold:3}),Flickity.createMethods.push("_createDrag");var proto=Flickity.prototype;utils.extend(proto,Unidragger.prototype),proto._touchActionValue="pan-y";var isTouch="createTouch"in document,isTouchmoveScrollCanceled=!1;proto._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),isTouch&&!isTouchmoveScrollCanceled&&(window2.addEventListener("touchmove",function(){}),isTouchmoveScrollCanceled=!0)},proto.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},proto.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},proto.updateDraggable=function(){this.options.draggable==">1"?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},proto.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},proto.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},proto._uiChangeDrag=function(){delete this.isFreeScrolling},proto.pointerDown=function(event2,pointer){if(!this.isDraggable){this._pointerDownDefault(event2,pointer);return}var isOkay=this.okayPointerDown(event2);isOkay&&(this._pointerDownPreventDefault(event2),this.pointerDownFocus(event2),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=getScrollPosition(),window2.addEventListener("scroll",this),this._pointerDownDefault(event2,pointer))},proto._pointerDownDefault=function(event2,pointer){this.pointerDownPointer={pageX:pointer.pageX,pageY:pointer.pageY},this._bindPostStartEvents(event2),this.dispatchEvent("pointerDown",event2,[pointer])};var focusNodes={INPUT:!0,TEXTAREA:!0,SELECT:!0};proto.pointerDownFocus=function(event2){var isFocusNode=focusNodes[event2.target.nodeName];isFocusNode||this.focus()},proto._pointerDownPreventDefault=function(event2){var isTouchStart=event2.type=="touchstart",isTouchPointer=event2.pointerType=="touch",isFocusNode=focusNodes[event2.target.nodeName];!isTouchStart&&!isTouchPointer&&!isFocusNode&&event2.preventDefault()},proto.hasDragStarted=function(moveVector){return Math.abs(moveVector.x)>this.options.dragThreshold},proto.pointerUp=function(event2,pointer){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",event2,[pointer]),this._dragPointerUp(event2,pointer)},proto.pointerDone=function(){window2.removeEventListener("scroll",this),delete this.pointerDownScroll},proto.dragStart=function(event2,pointer){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),window2.removeEventListener("scroll",this),this.dispatchEvent("dragStart",event2,[pointer]))},proto.pointerMove=function(event2,pointer){var moveVector=this._dragPointerMove(event2,pointer);this.dispatchEvent("pointerMove",event2,[pointer,moveVector]),this._dragMove(event2,pointer,moveVector)},proto.dragMove=function(event2,pointer,moveVector){if(this.isDraggable){event2.preventDefault(),this.previousDragX=this.dragX;var direction=this.options.rightToLeft?-1:1;this.options.wrapAround&&(moveVector.x=moveVector.x%this.slideableWidth);var dragX=this.dragStartPosition+moveVector.x*direction;if(!this.options.wrapAround&&this.slides.length){var originBound=Math.max(-this.slides[0].target,this.dragStartPosition);dragX=dragX>originBound?(dragX+originBound)*.5:dragX;var endBound=Math.min(-this.getLastSlide().target,this.dragStartPosition);dragX=dragXthis.slides[0].target&&-restingX1,slideIndex=isWrapAround?utils.modulo(index,len):index,slide=this.slides[slideIndex];if(!slide)return null;var wrap=isWrapAround?this.slideableWidth*Math.floor(index/len):0;return x-(slide.target+wrap)},proto.dragEndBoostSelect=function(){if(this.previousDragX===void 0||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var distance=this.getSlideDistance(-this.dragX,this.selectedIndex),delta=this.previousDragX-this.dragX;return distance>0&&delta>0?1:distance<0&&delta<0?-1:0},proto.staticClick=function(event2,pointer){var clickedCell=this.getParentCell(event2.target),cellElem=clickedCell&&clickedCell.element,cellIndex=clickedCell&&this.cells.indexOf(clickedCell);this.dispatchEvent("staticClick",event2,[pointer,cellElem,cellIndex])},proto.onscroll=function(){var scroll=getScrollPosition(),scrollMoveX=this.pointerDownScroll.x-scroll.x,scrollMoveY=this.pointerDownScroll.y-scroll.y;(Math.abs(scrollMoveX)>3||Math.abs(scrollMoveY)>3)&&this._pointerDone()};function getScrollPosition(){return{x:window2.pageXOffset,y:window2.pageYOffset}}return Flickity})},217:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){if(1)__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(158),__webpack_require__2(131),__webpack_require__2(47),__webpack_require__2(229),__webpack_require__2(714),__webpack_require__2(880)],__WEBPACK_AMD_DEFINE_RESULT__=function(EvEmitter,getSize,utils,Cell,Slide,animatePrototype){return factory(window2,EvEmitter,getSize,utils,Cell,Slide,animatePrototype)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__);else var _Flickity})(window,function(window2,EvEmitter,getSize,utils,Cell,Slide,animatePrototype){"use strict";var jQuery2=window2.jQuery,getComputedStyle2=window2.getComputedStyle,console2=window2.console;function moveElements(elems,toElem){for(elems=utils.makeArray(elems);elems.length;)toElem.appendChild(elems.shift())}var GUID=0,instances={};function Flickity(element,options){var queryElement=utils.getQueryElement(element);if(!queryElement){console2&&console2.error("Bad element for Flickity: "+(queryElement||element));return}if(this.element=queryElement,this.element.flickityGUID){var instance=instances[this.element.flickityGUID];return instance.option(options),instance}jQuery2&&(this.$element=jQuery2(this.element)),this.options=utils.extend({},this.constructor.defaults),this.option(options),this._create()}Flickity.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},Flickity.createMethods=[];var proto=Flickity.prototype;utils.extend(proto,EvEmitter.prototype),proto._create=function(){var id=this.guid=++GUID;this.element.flickityGUID=id,instances[id]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&window2.addEventListener("resize",this);for(var eventName in this.options.on){var listener=this.options.on[eventName];this.on(eventName,listener)}Flickity.createMethods.forEach(function(method){this[method]()},this),this.options.watchCSS?this.watchCSS():this.activate()},proto.option=function(opts){utils.extend(this.options,opts)},proto.activate=function(){if(!this.isActive){this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();var cellElems=this._filterFindCellElements(this.element.children);moveElements(cellElems,this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")}},proto._createSlider=function(){var slider=document.createElement("div");slider.className="flickity-slider",slider.style[this.originSide]=0,this.slider=slider},proto._filterFindCellElements=function(elems){return utils.filterFindElements(elems,this.options.cellSelector)},proto.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},proto._makeCells=function(elems){var cellElems=this._filterFindCellElements(elems),cells=cellElems.map(function(cellElem){return new Cell(cellElem,this)},this);return cells},proto.getLastCell=function(){return this.cells[this.cells.length-1]},proto.getLastSlide=function(){return this.slides[this.slides.length-1]},proto.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},proto._positionCells=function(index){index=index||0,this.maxCellHeight=index&&this.maxCellHeight||0;var cellX=0;if(index>0){var startCell=this.cells[index-1];cellX=startCell.x+startCell.size.outerWidth}for(var len=this.cells.length,i=index;i0;){var cell=this.cells[cellIndex];if(!cell)break;cells.push(cell),cellIndex+=increment,gapX-=cell.size.outerWidth}return cells},proto._containSlides=function(){if(!(!this.options.contain||this.options.wrapAround||!this.cells.length)){var isRightToLeft=this.options.rightToLeft,beginMargin=isRightToLeft?"marginRight":"marginLeft",endMargin=isRightToLeft?"marginLeft":"marginRight",contentWidth=this.slideableWidth-this.getLastCell().size[endMargin],isContentSmaller=contentWidth1;if(!isWrapping)return index;var wrapIndex=utils.modulo(index,len),delta=Math.abs(wrapIndex-this.selectedIndex),backWrapDelta=Math.abs(wrapIndex+len-this.selectedIndex),forewardWrapDelta=Math.abs(wrapIndex-len-this.selectedIndex);!this.isDragSelect&&backWrapDelta=len&&(this.x+=this.slideableWidth)},proto.previous=function(isWrap,isInstant){this.select(this.selectedIndex-1,isWrap,isInstant)},proto.next=function(isWrap,isInstant){this.select(this.selectedIndex+1,isWrap,isInstant)},proto.updateSelectedSlide=function(){var slide=this.slides[this.selectedIndex];slide&&(this.unselectSelectedSlide(),this.selectedSlide=slide,slide.select(),this.selectedCells=slide.cells,this.selectedElements=slide.getCellElements(),this.selectedCell=slide.cells[0],this.selectedElement=this.selectedElements[0])},proto.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},proto.selectInitialIndex=function(){var initialIndex=this.options.initialIndex;if(this.isInitActivated){this.select(this.selectedIndex,!1,!0);return}if(initialIndex&&typeof initialIndex=="string"){var cell=this.queryCell(initialIndex);if(cell){this.selectCell(initialIndex,!1,!0);return}}var index=0;initialIndex&&this.slides[initialIndex]&&(index=initialIndex),this.select(index,!1,!0)},proto.selectCell=function(value,isWrap,isInstant){var cell=this.queryCell(value);if(cell){var index=this.getCellSlideIndex(cell);this.select(index,isWrap,isInstant)}},proto.getCellSlideIndex=function(cell){for(var i=0;i *"),this.getCell(elem))},proto.getAdjacentCellElements=function(adjCount,index){if(!adjCount)return this.selectedSlide.getCellElements();index=index===void 0?this.selectedIndex:index;var len=this.slides.length;if(1+adjCount*2>=len)return this.getCellElements();for(var cellElems=[],i=index-adjCount;i<=index+adjCount;i++){var slideIndex=this.options.wrapAround?utils.modulo(i,len):i,slide=this.slides[slideIndex];slide&&(cellElems=cellElems.concat(slide.getCellElements()))}return cellElems},proto.queryCell=function(selector){if(typeof selector=="number")return this.cells[selector];if(typeof selector=="string"){if(selector.match(/^[#\.]?[\d\/]/))return;selector=this.element.querySelector(selector)}return this.getCell(selector)},proto.uiChange=function(){this.emitEvent("uiChange")},proto.childUIPointerDown=function(event2){event2.type!="touchstart"&&event2.preventDefault(),this.focus()},proto.onresize=function(){this.watchCSS(),this.resize()},utils.debounceMethod(Flickity,"onresize",150),proto.resize=function(){if(this.isActive){this.getSize(),this.options.wrapAround&&(this.x=utils.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var selectedElement=this.selectedElements&&this.selectedElements[0];this.selectCell(selectedElement,!1,!0)}},proto.watchCSS=function(){var watchOption=this.options.watchCSS;if(watchOption){var afterContent=getComputedStyle2(this.element,":after").content;afterContent.indexOf("flickity")!=-1?this.activate():this.deactivate()}},proto.onkeydown=function(event2){var isNotFocused=document.activeElement&&document.activeElement!=this.element;if(!(!this.options.accessibility||isNotFocused)){var handler=Flickity.keyboardHandlers[event2.keyCode];handler&&handler.call(this)}},Flickity.keyboardHandlers={37:function(){var leftMethod=this.options.rightToLeft?"next":"previous";this.uiChange(),this[leftMethod]()},39:function(){var rightMethod=this.options.rightToLeft?"previous":"next";this.uiChange(),this[rightMethod]()}},proto.focus=function(){var prevScrollY=window2.pageYOffset;this.element.focus({preventScroll:!0}),window2.pageYOffset!=prevScrollY&&window2.scrollTo(window2.pageXOffset,prevScrollY)},proto.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(cell){cell.destroy()}),this.element.removeChild(this.viewport),moveElements(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},proto.destroy=function(){this.deactivate(),window2.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),jQuery2&&this.$element&&jQuery2.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete instances[this.guid]},utils.extend(proto,animatePrototype),Flickity.data=function(elem){elem=utils.getQueryElement(elem);var id=elem&&elem.flickityGUID;return id&&instances[id]},utils.htmlInit(Flickity,"flickity"),jQuery2&&jQuery2.bridget&&jQuery2.bridget("flickity",Flickity),Flickity.setJQuery=function(jq){jQuery2=jq},Flickity.Cell=Cell,Flickity.Slide=Slide,Flickity})},442:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*! * Flickity v2.2.0 * Touch, responsive, flickable carousels * * Licensed GPLv3 for open source use * or Flickity Commercial License for commercial use * * https://flickity.metafizzy.co * Copyright 2015-2018 Metafizzy */(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(217),__webpack_require__2(690),__webpack_require__2(410),__webpack_require__2(573),__webpack_require__2(516),__webpack_require__2(597),__webpack_require__2(227)],__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__=typeof __WEBPACK_AMD_DEFINE_FACTORY__=="function"?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(Flickity){return Flickity})},227:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(217),__webpack_require__2(47)],__WEBPACK_AMD_DEFINE_RESULT__=function(Flickity,utils){return factory(window2,Flickity,utils)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(window2,Flickity,utils){"use strict";Flickity.createMethods.push("_createLazyload");var proto=Flickity.prototype;proto._createLazyload=function(){this.on("select",this.lazyLoad)},proto.lazyLoad=function(){var lazyLoad=this.options.lazyLoad;if(lazyLoad){var adjCount=typeof lazyLoad=="number"?lazyLoad:0,cellElems=this.getAdjacentCellElements(adjCount),lazyImages=[];cellElems.forEach(function(cellElem){var lazyCellImages=getCellLazyImages(cellElem);lazyImages=lazyImages.concat(lazyCellImages)}),lazyImages.forEach(function(img){new LazyLoader(img,this)},this)}};function getCellLazyImages(cellElem){if(cellElem.nodeName=="IMG"){var lazyloadAttr=cellElem.getAttribute("data-flickity-lazyload"),srcAttr=cellElem.getAttribute("data-flickity-lazyload-src"),srcsetAttr=cellElem.getAttribute("data-flickity-lazyload-srcset");if(lazyloadAttr||srcAttr||srcsetAttr)return[cellElem]}var lazySelector="img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]",imgs=cellElem.querySelectorAll(lazySelector);return utils.makeArray(imgs)}function LazyLoader(img,flickity){this.img=img,this.flickity=flickity,this.load()}return LazyLoader.prototype.handleEvent=utils.handleEvent,LazyLoader.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var src=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),srcset=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=src,srcset&&this.img.setAttribute("srcset",srcset),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},LazyLoader.prototype.onload=function(event2){this.complete(event2,"flickity-lazyloaded")},LazyLoader.prototype.onerror=function(event2){this.complete(event2,"flickity-lazyerror")},LazyLoader.prototype.complete=function(event2,className){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var cell=this.flickity.getParentCell(this.img),cellElem=cell&&cell.element;this.flickity.cellSizeChange(cellElem),this.img.classList.add(className),this.flickity.dispatchEvent("lazyLoad",event2,cellElem)},Flickity.LazyLoader=LazyLoader,Flickity})},573:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(217),__webpack_require__2(704),__webpack_require__2(47)],__WEBPACK_AMD_DEFINE_RESULT__=function(Flickity,Unipointer,utils){return factory(window2,Flickity,Unipointer,utils)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(window2,Flickity,Unipointer,utils){"use strict";function PageDots(parent){this.parent=parent,this._create()}PageDots.prototype=Object.create(Unipointer.prototype),PageDots.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},PageDots.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},PageDots.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},PageDots.prototype.setDots=function(){var delta=this.parent.slides.length-this.dots.length;delta>0?this.addDots(delta):delta<0&&this.removeDots(-delta)},PageDots.prototype.addDots=function(count){for(var fragment=document.createDocumentFragment(),newDots=[],length=this.dots.length,max=length+count,i=length;i{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(158),__webpack_require__2(47),__webpack_require__2(217)],__WEBPACK_AMD_DEFINE_RESULT__=function(EvEmitter,utils,Flickity){return factory(EvEmitter,utils,Flickity)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(EvEmitter,utils,Flickity){"use strict";function Player(parent){this.parent=parent,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}Player.prototype=Object.create(EvEmitter.prototype),Player.prototype.play=function(){if(this.state!="playing"){var isPageHidden=document.hidden;if(isPageHidden){document.addEventListener("visibilitychange",this.onVisibilityPlay);return}this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()}},Player.prototype.tick=function(){if(this.state=="playing"){var time=this.parent.options.autoPlay;time=typeof time=="number"?time:3e3;var _this=this;this.clear(),this.timeout=setTimeout(function(){_this.parent.next(!0),_this.tick()},time)}},Player.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},Player.prototype.clear=function(){clearTimeout(this.timeout)},Player.prototype.pause=function(){this.state=="playing"&&(this.state="paused",this.clear())},Player.prototype.unpause=function(){this.state=="paused"&&this.play()},Player.prototype.visibilityChange=function(){var isPageHidden=document.hidden;this[isPageHidden?"pause":"unpause"]()},Player.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},utils.extend(Flickity.defaults,{pauseAutoPlayOnHover:!0}),Flickity.createMethods.push("_createPlayer");var proto=Flickity.prototype;return proto._createPlayer=function(){this.player=new Player(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},proto.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},proto.playPlayer=function(){this.player.play()},proto.stopPlayer=function(){this.player.stop()},proto.pausePlayer=function(){this.player.pause()},proto.unpausePlayer=function(){this.player.unpause()},proto.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},proto.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},proto.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},Flickity.Player=Player,Flickity})},410:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__2(217),__webpack_require__2(704),__webpack_require__2(47)],__WEBPACK_AMD_DEFINE_RESULT__=function(Flickity,Unipointer,utils){return factory(window2,Flickity,Unipointer,utils)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(window2,Flickity,Unipointer,utils){"use strict";var svgURI="http://www.w3.org/2000/svg";function PrevNextButton(direction,parent){this.direction=direction,this.parent=parent,this._create()}PrevNextButton.prototype=Object.create(Unipointer.prototype),PrevNextButton.prototype._create=function(){this.isEnabled=!0,this.isPrevious=this.direction==-1;var leftDirection=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==leftDirection;var element=this.element=document.createElement("button");element.className="flickity-button flickity-prev-next-button",element.className+=this.isPrevious?" previous":" next",element.setAttribute("type","button"),this.disable(),element.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var svg=this.createSVG();element.appendChild(svg),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},PrevNextButton.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},PrevNextButton.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},PrevNextButton.prototype.createSVG=function(){var svg=document.createElementNS(svgURI,"svg");svg.setAttribute("class","flickity-button-icon"),svg.setAttribute("viewBox","0 0 100 100");var path=document.createElementNS(svgURI,"path"),pathMovements=getArrowMovements(this.parent.options.arrowShape);return path.setAttribute("d",pathMovements),path.setAttribute("class","arrow"),this.isLeft||path.setAttribute("transform","translate(100, 100) rotate(180) "),svg.appendChild(path),svg};function getArrowMovements(shape){return typeof shape=="string"?shape:"M "+shape.x0+",50 L "+shape.x1+","+(shape.y1+50)+" L "+shape.x2+","+(shape.y2+50)+" L "+shape.x3+",50 L "+shape.x2+","+(50-shape.y2)+" L "+shape.x1+","+(50-shape.y1)+" Z"}PrevNextButton.prototype.handleEvent=utils.handleEvent,PrevNextButton.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var method=this.isPrevious?"previous":"next";this.parent[method]()}},PrevNextButton.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},PrevNextButton.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},PrevNextButton.prototype.update=function(){var slides=this.parent.slides;if(this.parent.options.wrapAround&&slides.length>1){this.enable();return}var lastIndex=slides.length?slides.length-1:0,boundIndex=this.isPrevious?0:lastIndex,method=this.parent.selectedIndex==boundIndex?"disable":"enable";this[method]()},PrevNextButton.prototype.destroy=function(){this.deactivate(),this.allOff()},utils.extend(Flickity.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),Flickity.createMethods.push("_createPrevNextButtons");var proto=Flickity.prototype;return proto._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new PrevNextButton(-1,this),this.nextButton=new PrevNextButton(1,this),this.on("activate",this.activatePrevNextButtons))},proto.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},proto.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},Flickity.PrevNextButton=PrevNextButton,Flickity})},714:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(window2,factory){__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__=typeof __WEBPACK_AMD_DEFINE_FACTORY__=="function"?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__2,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(){"use strict";function Slide(parent){this.parent=parent,this.isOriginLeft=parent.originSide=="left",this.cells=[],this.outerWidth=0,this.height=0}var proto=Slide.prototype;return proto.addCell=function(cell){if(this.cells.push(cell),this.outerWidth+=cell.size.outerWidth,this.height=Math.max(cell.size.outerHeight,this.height),this.cells.length==1){this.x=cell.x;var beginMargin=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=cell.size[beginMargin]}},proto.updateTarget=function(){var endMargin=this.isOriginLeft?"marginRight":"marginLeft",lastCell=this.getLastCell(),lastMargin=lastCell?lastCell.size[endMargin]:0,slideWidth=this.outerWidth-(this.firstMargin+lastMargin);this.target=this.x+this.firstMargin+slideWidth*this.parent.cellAlign},proto.getLastCell=function(){return this.cells[this.cells.length-1]},proto.select=function(){this.cells.forEach(function(cell){cell.select()})},proto.unselect=function(){this.cells.forEach(function(cell){cell.unselect()})},proto.getCellElements=function(){return this.cells.map(function(cell){return cell.element})},Slide})},131:(module,exports,__webpack_require__2)=>{var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;/*! * getSize v2.0.3 * measure size of elements * MIT license */(function(window2,factory){__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__=typeof __WEBPACK_AMD_DEFINE_FACTORY__=="function"?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__2,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(window,function(){"use strict";function getStyleSize(value){var num=parseFloat(value),isValid=value.indexOf("%")==-1&&!isNaN(num);return isValid&&num}function noop(){}var logError=typeof console>"u"?noop:function(message){console.error(message)},measurements=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],measurementsLength=measurements.length;function getZeroSize(){for(var size={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0;i